/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package merlion.mrp.ppm.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;

/**
 *
 * @author Zhang Ying
 */
public class WeeklyMPSTemp implements Serializable{
    
    private int selectedYear;
    private int selectedMonth;
    int totalWkingDays;
    private ArrayList<Long> monthlyDemand = new ArrayList<Long>(); // size is 4, 0-A, 1-B, 2-C, 3-D
    private ArrayList<Integer> workingDays = new ArrayList<Integer>(); // size is 5 depending on # of weeks
    private ArrayList<ArrayList<Long>> weeklyDemand = new ArrayList<ArrayList<Long>>(); // size is 4 * 4 or 4 * 5, the outer arraylist is product
    private ArrayList<ArrayList<Timestamp>> startEndDays = new ArrayList<ArrayList<Timestamp>>(); // size is 4 * 2 or 5 * 2 depending on # of weeks
    
    public WeeklyMPSTemp() {
    }

    public WeeklyMPSTemp(int selectedYear, int selectedMonth, int totalWkingDays) {
        this.selectedYear = selectedYear;
        this.selectedMonth = selectedMonth;
        this.totalWkingDays = totalWkingDays;
    }

    public ArrayList<Long> getMonthlyDemand() {
        return monthlyDemand;
    }

    public void setMonthlyDemand(ArrayList<Long> monthlyDemand) {
        this.monthlyDemand = monthlyDemand;
    }

    public int getSelectedMonth() {
        return selectedMonth;
    }

    public void setSelectedMonth(int selectedMonth) {
        this.selectedMonth = selectedMonth;
    }

    public int getSelectedYear() {
        return selectedYear;
    }

    public void setSelectedYear(int selectedYear) {
        this.selectedYear = selectedYear;
    }

    public int getTotalWkingDays() {
        return totalWkingDays;
    }

    public void setTotalWkingDays(int totalWkingDays) {
        this.totalWkingDays = totalWkingDays;
    }

    public ArrayList<ArrayList<Long>> getWeeklyDemand() {
        return weeklyDemand;
    }

    public void setWeeklyDemand(ArrayList<ArrayList<Long>> weeklyDemand) {
        this.weeklyDemand = weeklyDemand;
    }

    public ArrayList<Integer> getWorkingDays() {
        return workingDays;
    }

    public void setWorkingDays(ArrayList<Integer> workingDays) {
        this.workingDays = workingDays;
    }

    public ArrayList<ArrayList<Timestamp>> getStartEndDays() {
        return startEndDays;
    }

    public void setStartEndDays(ArrayList<ArrayList<Timestamp>> startEndDays) {
        this.startEndDays = startEndDays;
    }
}
